package com.yili.oa.models;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUseridIsNull() {
            addCriterion("userid is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userid is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("userid =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("userid <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("userid >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("userid >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("userid <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("userid <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("userid in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("userid not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("userid between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("userid not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andWeakMissionDataIsNull() {
            addCriterion("weak_mission_data is null");
            return (Criteria) this;
        }

        public Criteria andWeakMissionDataIsNotNull() {
            addCriterion("weak_mission_data is not null");
            return (Criteria) this;
        }

        public Criteria andWeakMissionDataEqualTo(String value) {
            addCriterion("weak_mission_data =", value, "weakMissionData");
            return (Criteria) this;
        }

        public Criteria andWeakMissionDataNotEqualTo(String value) {
            addCriterion("weak_mission_data <>", value, "weakMissionData");
            return (Criteria) this;
        }

        public Criteria andWeakMissionDataGreaterThan(String value) {
            addCriterion("weak_mission_data >", value, "weakMissionData");
            return (Criteria) this;
        }

        public Criteria andWeakMissionDataGreaterThanOrEqualTo(String value) {
            addCriterion("weak_mission_data >=", value, "weakMissionData");
            return (Criteria) this;
        }

        public Criteria andWeakMissionDataLessThan(String value) {
            addCriterion("weak_mission_data <", value, "weakMissionData");
            return (Criteria) this;
        }

        public Criteria andWeakMissionDataLessThanOrEqualTo(String value) {
            addCriterion("weak_mission_data <=", value, "weakMissionData");
            return (Criteria) this;
        }

        public Criteria andWeakMissionDataLike(String value) {
            addCriterion("weak_mission_data like", value, "weakMissionData");
            return (Criteria) this;
        }

        public Criteria andWeakMissionDataNotLike(String value) {
            addCriterion("weak_mission_data not like", value, "weakMissionData");
            return (Criteria) this;
        }

        public Criteria andWeakMissionDataIn(List<String> values) {
            addCriterion("weak_mission_data in", values, "weakMissionData");
            return (Criteria) this;
        }

        public Criteria andWeakMissionDataNotIn(List<String> values) {
            addCriterion("weak_mission_data not in", values, "weakMissionData");
            return (Criteria) this;
        }

        public Criteria andWeakMissionDataBetween(String value1, String value2) {
            addCriterion("weak_mission_data between", value1, value2, "weakMissionData");
            return (Criteria) this;
        }

        public Criteria andWeakMissionDataNotBetween(String value1, String value2) {
            addCriterion("weak_mission_data not between", value1, value2, "weakMissionData");
            return (Criteria) this;
        }

        public Criteria andAccountIsNull() {
            addCriterion("account is null");
            return (Criteria) this;
        }

        public Criteria andAccountIsNotNull() {
            addCriterion("account is not null");
            return (Criteria) this;
        }

        public Criteria andAccountEqualTo(String value) {
            addCriterion("account =", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotEqualTo(String value) {
            addCriterion("account <>", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountGreaterThan(String value) {
            addCriterion("account >", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountGreaterThanOrEqualTo(String value) {
            addCriterion("account >=", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLessThan(String value) {
            addCriterion("account <", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLessThanOrEqualTo(String value) {
            addCriterion("account <=", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLike(String value) {
            addCriterion("account like", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotLike(String value) {
            addCriterion("account not like", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountIn(List<String> values) {
            addCriterion("account in", values, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotIn(List<String> values) {
            addCriterion("account not in", values, "account");
            return (Criteria) this;
        }

        public Criteria andAccountBetween(String value1, String value2) {
            addCriterion("account between", value1, value2, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotBetween(String value1, String value2) {
            addCriterion("account not between", value1, value2, "account");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("sex is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("sex is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(Integer value) {
            addCriterion("sex =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(Integer value) {
            addCriterion("sex <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(Integer value) {
            addCriterion("sex >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(Integer value) {
            addCriterion("sex >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(Integer value) {
            addCriterion("sex <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(Integer value) {
            addCriterion("sex <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<Integer> values) {
            addCriterion("sex in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<Integer> values) {
            addCriterion("sex not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(Integer value1, Integer value2) {
            addCriterion("sex between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(Integer value1, Integer value2) {
            addCriterion("sex not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andHeadimgIsNull() {
            addCriterion("headimg is null");
            return (Criteria) this;
        }

        public Criteria andHeadimgIsNotNull() {
            addCriterion("headimg is not null");
            return (Criteria) this;
        }

        public Criteria andHeadimgEqualTo(String value) {
            addCriterion("headimg =", value, "headimg");
            return (Criteria) this;
        }

        public Criteria andHeadimgNotEqualTo(String value) {
            addCriterion("headimg <>", value, "headimg");
            return (Criteria) this;
        }

        public Criteria andHeadimgGreaterThan(String value) {
            addCriterion("headimg >", value, "headimg");
            return (Criteria) this;
        }

        public Criteria andHeadimgGreaterThanOrEqualTo(String value) {
            addCriterion("headimg >=", value, "headimg");
            return (Criteria) this;
        }

        public Criteria andHeadimgLessThan(String value) {
            addCriterion("headimg <", value, "headimg");
            return (Criteria) this;
        }

        public Criteria andHeadimgLessThanOrEqualTo(String value) {
            addCriterion("headimg <=", value, "headimg");
            return (Criteria) this;
        }

        public Criteria andHeadimgLike(String value) {
            addCriterion("headimg like", value, "headimg");
            return (Criteria) this;
        }

        public Criteria andHeadimgNotLike(String value) {
            addCriterion("headimg not like", value, "headimg");
            return (Criteria) this;
        }

        public Criteria andHeadimgIn(List<String> values) {
            addCriterion("headimg in", values, "headimg");
            return (Criteria) this;
        }

        public Criteria andHeadimgNotIn(List<String> values) {
            addCriterion("headimg not in", values, "headimg");
            return (Criteria) this;
        }

        public Criteria andHeadimgBetween(String value1, String value2) {
            addCriterion("headimg between", value1, value2, "headimg");
            return (Criteria) this;
        }

        public Criteria andHeadimgNotBetween(String value1, String value2) {
            addCriterion("headimg not between", value1, value2, "headimg");
            return (Criteria) this;
        }

        public Criteria andSignatureIsNull() {
            addCriterion("signature is null");
            return (Criteria) this;
        }

        public Criteria andSignatureIsNotNull() {
            addCriterion("signature is not null");
            return (Criteria) this;
        }

        public Criteria andSignatureEqualTo(String value) {
            addCriterion("signature =", value, "signature");
            return (Criteria) this;
        }

        public Criteria andSignatureNotEqualTo(String value) {
            addCriterion("signature <>", value, "signature");
            return (Criteria) this;
        }

        public Criteria andSignatureGreaterThan(String value) {
            addCriterion("signature >", value, "signature");
            return (Criteria) this;
        }

        public Criteria andSignatureGreaterThanOrEqualTo(String value) {
            addCriterion("signature >=", value, "signature");
            return (Criteria) this;
        }

        public Criteria andSignatureLessThan(String value) {
            addCriterion("signature <", value, "signature");
            return (Criteria) this;
        }

        public Criteria andSignatureLessThanOrEqualTo(String value) {
            addCriterion("signature <=", value, "signature");
            return (Criteria) this;
        }

        public Criteria andSignatureLike(String value) {
            addCriterion("signature like", value, "signature");
            return (Criteria) this;
        }

        public Criteria andSignatureNotLike(String value) {
            addCriterion("signature not like", value, "signature");
            return (Criteria) this;
        }

        public Criteria andSignatureIn(List<String> values) {
            addCriterion("signature in", values, "signature");
            return (Criteria) this;
        }

        public Criteria andSignatureNotIn(List<String> values) {
            addCriterion("signature not in", values, "signature");
            return (Criteria) this;
        }

        public Criteria andSignatureBetween(String value1, String value2) {
            addCriterion("signature between", value1, value2, "signature");
            return (Criteria) this;
        }

        public Criteria andSignatureNotBetween(String value1, String value2) {
            addCriterion("signature not between", value1, value2, "signature");
            return (Criteria) this;
        }

        public Criteria andLvIsNull() {
            addCriterion("lv is null");
            return (Criteria) this;
        }

        public Criteria andLvIsNotNull() {
            addCriterion("lv is not null");
            return (Criteria) this;
        }

        public Criteria andLvEqualTo(Short value) {
            addCriterion("lv =", value, "lv");
            return (Criteria) this;
        }

        public Criteria andLvNotEqualTo(Short value) {
            addCriterion("lv <>", value, "lv");
            return (Criteria) this;
        }

        public Criteria andLvGreaterThan(Short value) {
            addCriterion("lv >", value, "lv");
            return (Criteria) this;
        }

        public Criteria andLvGreaterThanOrEqualTo(Short value) {
            addCriterion("lv >=", value, "lv");
            return (Criteria) this;
        }

        public Criteria andLvLessThan(Short value) {
            addCriterion("lv <", value, "lv");
            return (Criteria) this;
        }

        public Criteria andLvLessThanOrEqualTo(Short value) {
            addCriterion("lv <=", value, "lv");
            return (Criteria) this;
        }

        public Criteria andLvIn(List<Short> values) {
            addCriterion("lv in", values, "lv");
            return (Criteria) this;
        }

        public Criteria andLvNotIn(List<Short> values) {
            addCriterion("lv not in", values, "lv");
            return (Criteria) this;
        }

        public Criteria andLvBetween(Short value1, Short value2) {
            addCriterion("lv between", value1, value2, "lv");
            return (Criteria) this;
        }

        public Criteria andLvNotBetween(Short value1, Short value2) {
            addCriterion("lv not between", value1, value2, "lv");
            return (Criteria) this;
        }

        public Criteria andExpIsNull() {
            addCriterion("exp is null");
            return (Criteria) this;
        }

        public Criteria andExpIsNotNull() {
            addCriterion("exp is not null");
            return (Criteria) this;
        }

        public Criteria andExpEqualTo(Integer value) {
            addCriterion("exp =", value, "exp");
            return (Criteria) this;
        }

        public Criteria andExpNotEqualTo(Integer value) {
            addCriterion("exp <>", value, "exp");
            return (Criteria) this;
        }

        public Criteria andExpGreaterThan(Integer value) {
            addCriterion("exp >", value, "exp");
            return (Criteria) this;
        }

        public Criteria andExpGreaterThanOrEqualTo(Integer value) {
            addCriterion("exp >=", value, "exp");
            return (Criteria) this;
        }

        public Criteria andExpLessThan(Integer value) {
            addCriterion("exp <", value, "exp");
            return (Criteria) this;
        }

        public Criteria andExpLessThanOrEqualTo(Integer value) {
            addCriterion("exp <=", value, "exp");
            return (Criteria) this;
        }

        public Criteria andExpIn(List<Integer> values) {
            addCriterion("exp in", values, "exp");
            return (Criteria) this;
        }

        public Criteria andExpNotIn(List<Integer> values) {
            addCriterion("exp not in", values, "exp");
            return (Criteria) this;
        }

        public Criteria andExpBetween(Integer value1, Integer value2) {
            addCriterion("exp between", value1, value2, "exp");
            return (Criteria) this;
        }

        public Criteria andExpNotBetween(Integer value1, Integer value2) {
            addCriterion("exp not between", value1, value2, "exp");
            return (Criteria) this;
        }

        public Criteria andCoinsIsNull() {
            addCriterion("coins is null");
            return (Criteria) this;
        }

        public Criteria andCoinsIsNotNull() {
            addCriterion("coins is not null");
            return (Criteria) this;
        }

        public Criteria andCoinsEqualTo(Long value) {
            addCriterion("coins =", value, "coins");
            return (Criteria) this;
        }

        public Criteria andCoinsNotEqualTo(Long value) {
            addCriterion("coins <>", value, "coins");
            return (Criteria) this;
        }

        public Criteria andCoinsGreaterThan(Long value) {
            addCriterion("coins >", value, "coins");
            return (Criteria) this;
        }

        public Criteria andCoinsGreaterThanOrEqualTo(Long value) {
            addCriterion("coins >=", value, "coins");
            return (Criteria) this;
        }

        public Criteria andCoinsLessThan(Long value) {
            addCriterion("coins <", value, "coins");
            return (Criteria) this;
        }

        public Criteria andCoinsLessThanOrEqualTo(Long value) {
            addCriterion("coins <=", value, "coins");
            return (Criteria) this;
        }

        public Criteria andCoinsIn(List<Long> values) {
            addCriterion("coins in", values, "coins");
            return (Criteria) this;
        }

        public Criteria andCoinsNotIn(List<Long> values) {
            addCriterion("coins not in", values, "coins");
            return (Criteria) this;
        }

        public Criteria andCoinsBetween(Long value1, Long value2) {
            addCriterion("coins between", value1, value2, "coins");
            return (Criteria) this;
        }

        public Criteria andCoinsNotBetween(Long value1, Long value2) {
            addCriterion("coins not between", value1, value2, "coins");
            return (Criteria) this;
        }

        public Criteria andGemsIsNull() {
            addCriterion("gems is null");
            return (Criteria) this;
        }

        public Criteria andGemsIsNotNull() {
            addCriterion("gems is not null");
            return (Criteria) this;
        }

        public Criteria andGemsEqualTo(Integer value) {
            addCriterion("gems =", value, "gems");
            return (Criteria) this;
        }

        public Criteria andGemsNotEqualTo(Integer value) {
            addCriterion("gems <>", value, "gems");
            return (Criteria) this;
        }

        public Criteria andGemsGreaterThan(Integer value) {
            addCriterion("gems >", value, "gems");
            return (Criteria) this;
        }

        public Criteria andGemsGreaterThanOrEqualTo(Integer value) {
            addCriterion("gems >=", value, "gems");
            return (Criteria) this;
        }

        public Criteria andGemsLessThan(Integer value) {
            addCriterion("gems <", value, "gems");
            return (Criteria) this;
        }

        public Criteria andGemsLessThanOrEqualTo(Integer value) {
            addCriterion("gems <=", value, "gems");
            return (Criteria) this;
        }

        public Criteria andGemsIn(List<Integer> values) {
            addCriterion("gems in", values, "gems");
            return (Criteria) this;
        }

        public Criteria andGemsNotIn(List<Integer> values) {
            addCriterion("gems not in", values, "gems");
            return (Criteria) this;
        }

        public Criteria andGemsBetween(Integer value1, Integer value2) {
            addCriterion("gems between", value1, value2, "gems");
            return (Criteria) this;
        }

        public Criteria andGemsNotBetween(Integer value1, Integer value2) {
            addCriterion("gems not between", value1, value2, "gems");
            return (Criteria) this;
        }

        public Criteria andStrongboxIsNull() {
            addCriterion("strongbox is null");
            return (Criteria) this;
        }

        public Criteria andStrongboxIsNotNull() {
            addCriterion("strongbox is not null");
            return (Criteria) this;
        }

        public Criteria andStrongboxEqualTo(Long value) {
            addCriterion("strongbox =", value, "strongbox");
            return (Criteria) this;
        }

        public Criteria andStrongboxNotEqualTo(Long value) {
            addCriterion("strongbox <>", value, "strongbox");
            return (Criteria) this;
        }

        public Criteria andStrongboxGreaterThan(Long value) {
            addCriterion("strongbox >", value, "strongbox");
            return (Criteria) this;
        }

        public Criteria andStrongboxGreaterThanOrEqualTo(Long value) {
            addCriterion("strongbox >=", value, "strongbox");
            return (Criteria) this;
        }

        public Criteria andStrongboxLessThan(Long value) {
            addCriterion("strongbox <", value, "strongbox");
            return (Criteria) this;
        }

        public Criteria andStrongboxLessThanOrEqualTo(Long value) {
            addCriterion("strongbox <=", value, "strongbox");
            return (Criteria) this;
        }

        public Criteria andStrongboxIn(List<Long> values) {
            addCriterion("strongbox in", values, "strongbox");
            return (Criteria) this;
        }

        public Criteria andStrongboxNotIn(List<Long> values) {
            addCriterion("strongbox not in", values, "strongbox");
            return (Criteria) this;
        }

        public Criteria andStrongboxBetween(Long value1, Long value2) {
            addCriterion("strongbox between", value1, value2, "strongbox");
            return (Criteria) this;
        }

        public Criteria andStrongboxNotBetween(Long value1, Long value2) {
            addCriterion("strongbox not between", value1, value2, "strongbox");
            return (Criteria) this;
        }

        public Criteria andStrongboxPasswordIsNull() {
            addCriterion("strongbox_password is null");
            return (Criteria) this;
        }

        public Criteria andStrongboxPasswordIsNotNull() {
            addCriterion("strongbox_password is not null");
            return (Criteria) this;
        }

        public Criteria andStrongboxPasswordEqualTo(String value) {
            addCriterion("strongbox_password =", value, "strongboxPassword");
            return (Criteria) this;
        }

        public Criteria andStrongboxPasswordNotEqualTo(String value) {
            addCriterion("strongbox_password <>", value, "strongboxPassword");
            return (Criteria) this;
        }

        public Criteria andStrongboxPasswordGreaterThan(String value) {
            addCriterion("strongbox_password >", value, "strongboxPassword");
            return (Criteria) this;
        }

        public Criteria andStrongboxPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("strongbox_password >=", value, "strongboxPassword");
            return (Criteria) this;
        }

        public Criteria andStrongboxPasswordLessThan(String value) {
            addCriterion("strongbox_password <", value, "strongboxPassword");
            return (Criteria) this;
        }

        public Criteria andStrongboxPasswordLessThanOrEqualTo(String value) {
            addCriterion("strongbox_password <=", value, "strongboxPassword");
            return (Criteria) this;
        }

        public Criteria andStrongboxPasswordLike(String value) {
            addCriterion("strongbox_password like", value, "strongboxPassword");
            return (Criteria) this;
        }

        public Criteria andStrongboxPasswordNotLike(String value) {
            addCriterion("strongbox_password not like", value, "strongboxPassword");
            return (Criteria) this;
        }

        public Criteria andStrongboxPasswordIn(List<String> values) {
            addCriterion("strongbox_password in", values, "strongboxPassword");
            return (Criteria) this;
        }

        public Criteria andStrongboxPasswordNotIn(List<String> values) {
            addCriterion("strongbox_password not in", values, "strongboxPassword");
            return (Criteria) this;
        }

        public Criteria andStrongboxPasswordBetween(String value1, String value2) {
            addCriterion("strongbox_password between", value1, value2, "strongboxPassword");
            return (Criteria) this;
        }

        public Criteria andStrongboxPasswordNotBetween(String value1, String value2) {
            addCriterion("strongbox_password not between", value1, value2, "strongboxPassword");
            return (Criteria) this;
        }

        public Criteria andRoomidIsNull() {
            addCriterion("roomid is null");
            return (Criteria) this;
        }

        public Criteria andRoomidIsNotNull() {
            addCriterion("roomid is not null");
            return (Criteria) this;
        }

        public Criteria andRoomidEqualTo(String value) {
            addCriterion("roomid =", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidNotEqualTo(String value) {
            addCriterion("roomid <>", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidGreaterThan(String value) {
            addCriterion("roomid >", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidGreaterThanOrEqualTo(String value) {
            addCriterion("roomid >=", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidLessThan(String value) {
            addCriterion("roomid <", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidLessThanOrEqualTo(String value) {
            addCriterion("roomid <=", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidLike(String value) {
            addCriterion("roomid like", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidNotLike(String value) {
            addCriterion("roomid not like", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidIn(List<String> values) {
            addCriterion("roomid in", values, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidNotIn(List<String> values) {
            addCriterion("roomid not in", values, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidBetween(String value1, String value2) {
            addCriterion("roomid between", value1, value2, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidNotBetween(String value1, String value2) {
            addCriterion("roomid not between", value1, value2, "roomid");
            return (Criteria) this;
        }

        public Criteria andGametypeIsNull() {
            addCriterion("gametype is null");
            return (Criteria) this;
        }

        public Criteria andGametypeIsNotNull() {
            addCriterion("gametype is not null");
            return (Criteria) this;
        }

        public Criteria andGametypeEqualTo(String value) {
            addCriterion("gametype =", value, "gametype");
            return (Criteria) this;
        }

        public Criteria andGametypeNotEqualTo(String value) {
            addCriterion("gametype <>", value, "gametype");
            return (Criteria) this;
        }

        public Criteria andGametypeGreaterThan(String value) {
            addCriterion("gametype >", value, "gametype");
            return (Criteria) this;
        }

        public Criteria andGametypeGreaterThanOrEqualTo(String value) {
            addCriterion("gametype >=", value, "gametype");
            return (Criteria) this;
        }

        public Criteria andGametypeLessThan(String value) {
            addCriterion("gametype <", value, "gametype");
            return (Criteria) this;
        }

        public Criteria andGametypeLessThanOrEqualTo(String value) {
            addCriterion("gametype <=", value, "gametype");
            return (Criteria) this;
        }

        public Criteria andGametypeLike(String value) {
            addCriterion("gametype like", value, "gametype");
            return (Criteria) this;
        }

        public Criteria andGametypeNotLike(String value) {
            addCriterion("gametype not like", value, "gametype");
            return (Criteria) this;
        }

        public Criteria andGametypeIn(List<String> values) {
            addCriterion("gametype in", values, "gametype");
            return (Criteria) this;
        }

        public Criteria andGametypeNotIn(List<String> values) {
            addCriterion("gametype not in", values, "gametype");
            return (Criteria) this;
        }

        public Criteria andGametypeBetween(String value1, String value2) {
            addCriterion("gametype between", value1, value2, "gametype");
            return (Criteria) this;
        }

        public Criteria andGametypeNotBetween(String value1, String value2) {
            addCriterion("gametype not between", value1, value2, "gametype");
            return (Criteria) this;
        }

        public Criteria andGamemodeIsNull() {
            addCriterion("gamemode is null");
            return (Criteria) this;
        }

        public Criteria andGamemodeIsNotNull() {
            addCriterion("gamemode is not null");
            return (Criteria) this;
        }

        public Criteria andGamemodeEqualTo(String value) {
            addCriterion("gamemode =", value, "gamemode");
            return (Criteria) this;
        }

        public Criteria andGamemodeNotEqualTo(String value) {
            addCriterion("gamemode <>", value, "gamemode");
            return (Criteria) this;
        }

        public Criteria andGamemodeGreaterThan(String value) {
            addCriterion("gamemode >", value, "gamemode");
            return (Criteria) this;
        }

        public Criteria andGamemodeGreaterThanOrEqualTo(String value) {
            addCriterion("gamemode >=", value, "gamemode");
            return (Criteria) this;
        }

        public Criteria andGamemodeLessThan(String value) {
            addCriterion("gamemode <", value, "gamemode");
            return (Criteria) this;
        }

        public Criteria andGamemodeLessThanOrEqualTo(String value) {
            addCriterion("gamemode <=", value, "gamemode");
            return (Criteria) this;
        }

        public Criteria andGamemodeLike(String value) {
            addCriterion("gamemode like", value, "gamemode");
            return (Criteria) this;
        }

        public Criteria andGamemodeNotLike(String value) {
            addCriterion("gamemode not like", value, "gamemode");
            return (Criteria) this;
        }

        public Criteria andGamemodeIn(List<String> values) {
            addCriterion("gamemode in", values, "gamemode");
            return (Criteria) this;
        }

        public Criteria andGamemodeNotIn(List<String> values) {
            addCriterion("gamemode not in", values, "gamemode");
            return (Criteria) this;
        }

        public Criteria andGamemodeBetween(String value1, String value2) {
            addCriterion("gamemode between", value1, value2, "gamemode");
            return (Criteria) this;
        }

        public Criteria andGamemodeNotBetween(String value1, String value2) {
            addCriterion("gamemode not between", value1, value2, "gamemode");
            return (Criteria) this;
        }

        public Criteria andServerkeyIsNull() {
            addCriterion("serverkey is null");
            return (Criteria) this;
        }

        public Criteria andServerkeyIsNotNull() {
            addCriterion("serverkey is not null");
            return (Criteria) this;
        }

        public Criteria andServerkeyEqualTo(String value) {
            addCriterion("serverkey =", value, "serverkey");
            return (Criteria) this;
        }

        public Criteria andServerkeyNotEqualTo(String value) {
            addCriterion("serverkey <>", value, "serverkey");
            return (Criteria) this;
        }

        public Criteria andServerkeyGreaterThan(String value) {
            addCriterion("serverkey >", value, "serverkey");
            return (Criteria) this;
        }

        public Criteria andServerkeyGreaterThanOrEqualTo(String value) {
            addCriterion("serverkey >=", value, "serverkey");
            return (Criteria) this;
        }

        public Criteria andServerkeyLessThan(String value) {
            addCriterion("serverkey <", value, "serverkey");
            return (Criteria) this;
        }

        public Criteria andServerkeyLessThanOrEqualTo(String value) {
            addCriterion("serverkey <=", value, "serverkey");
            return (Criteria) this;
        }

        public Criteria andServerkeyLike(String value) {
            addCriterion("serverkey like", value, "serverkey");
            return (Criteria) this;
        }

        public Criteria andServerkeyNotLike(String value) {
            addCriterion("serverkey not like", value, "serverkey");
            return (Criteria) this;
        }

        public Criteria andServerkeyIn(List<String> values) {
            addCriterion("serverkey in", values, "serverkey");
            return (Criteria) this;
        }

        public Criteria andServerkeyNotIn(List<String> values) {
            addCriterion("serverkey not in", values, "serverkey");
            return (Criteria) this;
        }

        public Criteria andServerkeyBetween(String value1, String value2) {
            addCriterion("serverkey between", value1, value2, "serverkey");
            return (Criteria) this;
        }

        public Criteria andServerkeyNotBetween(String value1, String value2) {
            addCriterion("serverkey not between", value1, value2, "serverkey");
            return (Criteria) this;
        }

        public Criteria andHistoryIsNull() {
            addCriterion("history is null");
            return (Criteria) this;
        }

        public Criteria andHistoryIsNotNull() {
            addCriterion("history is not null");
            return (Criteria) this;
        }

        public Criteria andHistoryEqualTo(String value) {
            addCriterion("history =", value, "history");
            return (Criteria) this;
        }

        public Criteria andHistoryNotEqualTo(String value) {
            addCriterion("history <>", value, "history");
            return (Criteria) this;
        }

        public Criteria andHistoryGreaterThan(String value) {
            addCriterion("history >", value, "history");
            return (Criteria) this;
        }

        public Criteria andHistoryGreaterThanOrEqualTo(String value) {
            addCriterion("history >=", value, "history");
            return (Criteria) this;
        }

        public Criteria andHistoryLessThan(String value) {
            addCriterion("history <", value, "history");
            return (Criteria) this;
        }

        public Criteria andHistoryLessThanOrEqualTo(String value) {
            addCriterion("history <=", value, "history");
            return (Criteria) this;
        }

        public Criteria andHistoryLike(String value) {
            addCriterion("history like", value, "history");
            return (Criteria) this;
        }

        public Criteria andHistoryNotLike(String value) {
            addCriterion("history not like", value, "history");
            return (Criteria) this;
        }

        public Criteria andHistoryIn(List<String> values) {
            addCriterion("history in", values, "history");
            return (Criteria) this;
        }

        public Criteria andHistoryNotIn(List<String> values) {
            addCriterion("history not in", values, "history");
            return (Criteria) this;
        }

        public Criteria andHistoryBetween(String value1, String value2) {
            addCriterion("history between", value1, value2, "history");
            return (Criteria) this;
        }

        public Criteria andHistoryNotBetween(String value1, String value2) {
            addCriterion("history not between", value1, value2, "history");
            return (Criteria) this;
        }

        public Criteria andTokenIsNull() {
            addCriterion("token is null");
            return (Criteria) this;
        }

        public Criteria andTokenIsNotNull() {
            addCriterion("token is not null");
            return (Criteria) this;
        }

        public Criteria andTokenEqualTo(String value) {
            addCriterion("token =", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenNotEqualTo(String value) {
            addCriterion("token <>", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenGreaterThan(String value) {
            addCriterion("token >", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenGreaterThanOrEqualTo(String value) {
            addCriterion("token >=", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenLessThan(String value) {
            addCriterion("token <", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenLessThanOrEqualTo(String value) {
            addCriterion("token <=", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenLike(String value) {
            addCriterion("token like", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenNotLike(String value) {
            addCriterion("token not like", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenIn(List<String> values) {
            addCriterion("token in", values, "token");
            return (Criteria) this;
        }

        public Criteria andTokenNotIn(List<String> values) {
            addCriterion("token not in", values, "token");
            return (Criteria) this;
        }

        public Criteria andTokenBetween(String value1, String value2) {
            addCriterion("token between", value1, value2, "token");
            return (Criteria) this;
        }

        public Criteria andTokenNotBetween(String value1, String value2) {
            addCriterion("token not between", value1, value2, "token");
            return (Criteria) this;
        }

        public Criteria andInvitorIdIsNull() {
            addCriterion("invitor_id is null");
            return (Criteria) this;
        }

        public Criteria andInvitorIdIsNotNull() {
            addCriterion("invitor_id is not null");
            return (Criteria) this;
        }

        public Criteria andInvitorIdEqualTo(Integer value) {
            addCriterion("invitor_id =", value, "invitorId");
            return (Criteria) this;
        }

        public Criteria andInvitorIdNotEqualTo(Integer value) {
            addCriterion("invitor_id <>", value, "invitorId");
            return (Criteria) this;
        }

        public Criteria andInvitorIdGreaterThan(Integer value) {
            addCriterion("invitor_id >", value, "invitorId");
            return (Criteria) this;
        }

        public Criteria andInvitorIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("invitor_id >=", value, "invitorId");
            return (Criteria) this;
        }

        public Criteria andInvitorIdLessThan(Integer value) {
            addCriterion("invitor_id <", value, "invitorId");
            return (Criteria) this;
        }

        public Criteria andInvitorIdLessThanOrEqualTo(Integer value) {
            addCriterion("invitor_id <=", value, "invitorId");
            return (Criteria) this;
        }

        public Criteria andInvitorIdIn(List<Integer> values) {
            addCriterion("invitor_id in", values, "invitorId");
            return (Criteria) this;
        }

        public Criteria andInvitorIdNotIn(List<Integer> values) {
            addCriterion("invitor_id not in", values, "invitorId");
            return (Criteria) this;
        }

        public Criteria andInvitorIdBetween(Integer value1, Integer value2) {
            addCriterion("invitor_id between", value1, value2, "invitorId");
            return (Criteria) this;
        }

        public Criteria andInvitorIdNotBetween(Integer value1, Integer value2) {
            addCriterion("invitor_id not between", value1, value2, "invitorId");
            return (Criteria) this;
        }

        public Criteria andAgentIdIsNull() {
            addCriterion("agent_id is null");
            return (Criteria) this;
        }

        public Criteria andAgentIdIsNotNull() {
            addCriterion("agent_id is not null");
            return (Criteria) this;
        }

        public Criteria andAgentIdEqualTo(String value) {
            addCriterion("agent_id =", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotEqualTo(String value) {
            addCriterion("agent_id <>", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdGreaterThan(String value) {
            addCriterion("agent_id >", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdGreaterThanOrEqualTo(String value) {
            addCriterion("agent_id >=", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdLessThan(String value) {
            addCriterion("agent_id <", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdLessThanOrEqualTo(String value) {
            addCriterion("agent_id <=", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdLike(String value) {
            addCriterion("agent_id like", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotLike(String value) {
            addCriterion("agent_id not like", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdIn(List<String> values) {
            addCriterion("agent_id in", values, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotIn(List<String> values) {
            addCriterion("agent_id not in", values, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdBetween(String value1, String value2) {
            addCriterion("agent_id between", value1, value2, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotBetween(String value1, String value2) {
            addCriterion("agent_id not between", value1, value2, "agentId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Integer value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Integer value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Integer value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Integer value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Integer value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Integer> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Integer> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Integer value1, Integer value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andLastShareTimeIsNull() {
            addCriterion("last_share_time is null");
            return (Criteria) this;
        }

        public Criteria andLastShareTimeIsNotNull() {
            addCriterion("last_share_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastShareTimeEqualTo(Long value) {
            addCriterion("last_share_time =", value, "lastShareTime");
            return (Criteria) this;
        }

        public Criteria andLastShareTimeNotEqualTo(Long value) {
            addCriterion("last_share_time <>", value, "lastShareTime");
            return (Criteria) this;
        }

        public Criteria andLastShareTimeGreaterThan(Long value) {
            addCriterion("last_share_time >", value, "lastShareTime");
            return (Criteria) this;
        }

        public Criteria andLastShareTimeGreaterThanOrEqualTo(Long value) {
            addCriterion("last_share_time >=", value, "lastShareTime");
            return (Criteria) this;
        }

        public Criteria andLastShareTimeLessThan(Long value) {
            addCriterion("last_share_time <", value, "lastShareTime");
            return (Criteria) this;
        }

        public Criteria andLastShareTimeLessThanOrEqualTo(Long value) {
            addCriterion("last_share_time <=", value, "lastShareTime");
            return (Criteria) this;
        }

        public Criteria andLastShareTimeIn(List<Long> values) {
            addCriterion("last_share_time in", values, "lastShareTime");
            return (Criteria) this;
        }

        public Criteria andLastShareTimeNotIn(List<Long> values) {
            addCriterion("last_share_time not in", values, "lastShareTime");
            return (Criteria) this;
        }

        public Criteria andLastShareTimeBetween(Long value1, Long value2) {
            addCriterion("last_share_time between", value1, value2, "lastShareTime");
            return (Criteria) this;
        }

        public Criteria andLastShareTimeNotBetween(Long value1, Long value2) {
            addCriterion("last_share_time not between", value1, value2, "lastShareTime");
            return (Criteria) this;
        }

        public Criteria andHighercodeIsNull() {
            addCriterion("highercode is null");
            return (Criteria) this;
        }

        public Criteria andHighercodeIsNotNull() {
            addCriterion("highercode is not null");
            return (Criteria) this;
        }

        public Criteria andHighercodeEqualTo(String value) {
            addCriterion("highercode =", value, "highercode");
            return (Criteria) this;
        }

        public Criteria andHighercodeNotEqualTo(String value) {
            addCriterion("highercode <>", value, "highercode");
            return (Criteria) this;
        }

        public Criteria andHighercodeGreaterThan(String value) {
            addCriterion("highercode >", value, "highercode");
            return (Criteria) this;
        }

        public Criteria andHighercodeGreaterThanOrEqualTo(String value) {
            addCriterion("highercode >=", value, "highercode");
            return (Criteria) this;
        }

        public Criteria andHighercodeLessThan(String value) {
            addCriterion("highercode <", value, "highercode");
            return (Criteria) this;
        }

        public Criteria andHighercodeLessThanOrEqualTo(String value) {
            addCriterion("highercode <=", value, "highercode");
            return (Criteria) this;
        }

        public Criteria andHighercodeLike(String value) {
            addCriterion("highercode like", value, "highercode");
            return (Criteria) this;
        }

        public Criteria andHighercodeNotLike(String value) {
            addCriterion("highercode not like", value, "highercode");
            return (Criteria) this;
        }

        public Criteria andHighercodeIn(List<String> values) {
            addCriterion("highercode in", values, "highercode");
            return (Criteria) this;
        }

        public Criteria andHighercodeNotIn(List<String> values) {
            addCriterion("highercode not in", values, "highercode");
            return (Criteria) this;
        }

        public Criteria andHighercodeBetween(String value1, String value2) {
            addCriterion("highercode between", value1, value2, "highercode");
            return (Criteria) this;
        }

        public Criteria andHighercodeNotBetween(String value1, String value2) {
            addCriterion("highercode not between", value1, value2, "highercode");
            return (Criteria) this;
        }

        public Criteria andUserWinIsNull() {
            addCriterion("user_win is null");
            return (Criteria) this;
        }

        public Criteria andUserWinIsNotNull() {
            addCriterion("user_win is not null");
            return (Criteria) this;
        }

        public Criteria andUserWinEqualTo(String value) {
            addCriterion("user_win =", value, "userWin");
            return (Criteria) this;
        }

        public Criteria andUserWinNotEqualTo(String value) {
            addCriterion("user_win <>", value, "userWin");
            return (Criteria) this;
        }

        public Criteria andUserWinGreaterThan(String value) {
            addCriterion("user_win >", value, "userWin");
            return (Criteria) this;
        }

        public Criteria andUserWinGreaterThanOrEqualTo(String value) {
            addCriterion("user_win >=", value, "userWin");
            return (Criteria) this;
        }

        public Criteria andUserWinLessThan(String value) {
            addCriterion("user_win <", value, "userWin");
            return (Criteria) this;
        }

        public Criteria andUserWinLessThanOrEqualTo(String value) {
            addCriterion("user_win <=", value, "userWin");
            return (Criteria) this;
        }

        public Criteria andUserWinLike(String value) {
            addCriterion("user_win like", value, "userWin");
            return (Criteria) this;
        }

        public Criteria andUserWinNotLike(String value) {
            addCriterion("user_win not like", value, "userWin");
            return (Criteria) this;
        }

        public Criteria andUserWinIn(List<String> values) {
            addCriterion("user_win in", values, "userWin");
            return (Criteria) this;
        }

        public Criteria andUserWinNotIn(List<String> values) {
            addCriterion("user_win not in", values, "userWin");
            return (Criteria) this;
        }

        public Criteria andUserWinBetween(String value1, String value2) {
            addCriterion("user_win between", value1, value2, "userWin");
            return (Criteria) this;
        }

        public Criteria andUserWinNotBetween(String value1, String value2) {
            addCriterion("user_win not between", value1, value2, "userWin");
            return (Criteria) this;
        }

        public Criteria andUserBoutIsNull() {
            addCriterion("user_bout is null");
            return (Criteria) this;
        }

        public Criteria andUserBoutIsNotNull() {
            addCriterion("user_bout is not null");
            return (Criteria) this;
        }

        public Criteria andUserBoutEqualTo(String value) {
            addCriterion("user_bout =", value, "userBout");
            return (Criteria) this;
        }

        public Criteria andUserBoutNotEqualTo(String value) {
            addCriterion("user_bout <>", value, "userBout");
            return (Criteria) this;
        }

        public Criteria andUserBoutGreaterThan(String value) {
            addCriterion("user_bout >", value, "userBout");
            return (Criteria) this;
        }

        public Criteria andUserBoutGreaterThanOrEqualTo(String value) {
            addCriterion("user_bout >=", value, "userBout");
            return (Criteria) this;
        }

        public Criteria andUserBoutLessThan(String value) {
            addCriterion("user_bout <", value, "userBout");
            return (Criteria) this;
        }

        public Criteria andUserBoutLessThanOrEqualTo(String value) {
            addCriterion("user_bout <=", value, "userBout");
            return (Criteria) this;
        }

        public Criteria andUserBoutLike(String value) {
            addCriterion("user_bout like", value, "userBout");
            return (Criteria) this;
        }

        public Criteria andUserBoutNotLike(String value) {
            addCriterion("user_bout not like", value, "userBout");
            return (Criteria) this;
        }

        public Criteria andUserBoutIn(List<String> values) {
            addCriterion("user_bout in", values, "userBout");
            return (Criteria) this;
        }

        public Criteria andUserBoutNotIn(List<String> values) {
            addCriterion("user_bout not in", values, "userBout");
            return (Criteria) this;
        }

        public Criteria andUserBoutBetween(String value1, String value2) {
            addCriterion("user_bout between", value1, value2, "userBout");
            return (Criteria) this;
        }

        public Criteria andUserBoutNotBetween(String value1, String value2) {
            addCriterion("user_bout not between", value1, value2, "userBout");
            return (Criteria) this;
        }

        public Criteria andEnableIsNull() {
            addCriterion("enable is null");
            return (Criteria) this;
        }

        public Criteria andEnableIsNotNull() {
            addCriterion("enable is not null");
            return (Criteria) this;
        }

        public Criteria andEnableEqualTo(Byte value) {
            addCriterion("enable =", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableNotEqualTo(Byte value) {
            addCriterion("enable <>", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableGreaterThan(Byte value) {
            addCriterion("enable >", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableGreaterThanOrEqualTo(Byte value) {
            addCriterion("enable >=", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableLessThan(Byte value) {
            addCriterion("enable <", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableLessThanOrEqualTo(Byte value) {
            addCriterion("enable <=", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableIn(List<Byte> values) {
            addCriterion("enable in", values, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableNotIn(List<Byte> values) {
            addCriterion("enable not in", values, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableBetween(Byte value1, Byte value2) {
            addCriterion("enable between", value1, value2, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableNotBetween(Byte value1, Byte value2) {
            addCriterion("enable not between", value1, value2, "enable");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeIsNull() {
            addCriterion("last_login_time is null");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeIsNotNull() {
            addCriterion("last_login_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeEqualTo(Date value) {
            addCriterion("last_login_time =", value, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeNotEqualTo(Date value) {
            addCriterion("last_login_time <>", value, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeGreaterThan(Date value) {
            addCriterion("last_login_time >", value, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_login_time >=", value, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeLessThan(Date value) {
            addCriterion("last_login_time <", value, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_login_time <=", value, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeIn(List<Date> values) {
            addCriterion("last_login_time in", values, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeNotIn(List<Date> values) {
            addCriterion("last_login_time not in", values, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeBetween(Date value1, Date value2) {
            addCriterion("last_login_time between", value1, value2, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_login_time not between", value1, value2, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andIsRobotIsNull() {
            addCriterion("is_robot is null");
            return (Criteria) this;
        }

        public Criteria andIsRobotIsNotNull() {
            addCriterion("is_robot is not null");
            return (Criteria) this;
        }

        public Criteria andIsRobotEqualTo(Integer value) {
            addCriterion("is_robot =", value, "isRobot");
            return (Criteria) this;
        }

        public Criteria andIsRobotNotEqualTo(Integer value) {
            addCriterion("is_robot <>", value, "isRobot");
            return (Criteria) this;
        }

        public Criteria andIsRobotGreaterThan(Integer value) {
            addCriterion("is_robot >", value, "isRobot");
            return (Criteria) this;
        }

        public Criteria andIsRobotGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_robot >=", value, "isRobot");
            return (Criteria) this;
        }

        public Criteria andIsRobotLessThan(Integer value) {
            addCriterion("is_robot <", value, "isRobot");
            return (Criteria) this;
        }

        public Criteria andIsRobotLessThanOrEqualTo(Integer value) {
            addCriterion("is_robot <=", value, "isRobot");
            return (Criteria) this;
        }

        public Criteria andIsRobotIn(List<Integer> values) {
            addCriterion("is_robot in", values, "isRobot");
            return (Criteria) this;
        }

        public Criteria andIsRobotNotIn(List<Integer> values) {
            addCriterion("is_robot not in", values, "isRobot");
            return (Criteria) this;
        }

        public Criteria andIsRobotBetween(Integer value1, Integer value2) {
            addCriterion("is_robot between", value1, value2, "isRobot");
            return (Criteria) this;
        }

        public Criteria andIsRobotNotBetween(Integer value1, Integer value2) {
            addCriterion("is_robot not between", value1, value2, "isRobot");
            return (Criteria) this;
        }

        public Criteria andInvitedCountIsNull() {
            addCriterion("invited_count is null");
            return (Criteria) this;
        }

        public Criteria andInvitedCountIsNotNull() {
            addCriterion("invited_count is not null");
            return (Criteria) this;
        }

        public Criteria andInvitedCountEqualTo(Integer value) {
            addCriterion("invited_count =", value, "invitedCount");
            return (Criteria) this;
        }

        public Criteria andInvitedCountNotEqualTo(Integer value) {
            addCriterion("invited_count <>", value, "invitedCount");
            return (Criteria) this;
        }

        public Criteria andInvitedCountGreaterThan(Integer value) {
            addCriterion("invited_count >", value, "invitedCount");
            return (Criteria) this;
        }

        public Criteria andInvitedCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("invited_count >=", value, "invitedCount");
            return (Criteria) this;
        }

        public Criteria andInvitedCountLessThan(Integer value) {
            addCriterion("invited_count <", value, "invitedCount");
            return (Criteria) this;
        }

        public Criteria andInvitedCountLessThanOrEqualTo(Integer value) {
            addCriterion("invited_count <=", value, "invitedCount");
            return (Criteria) this;
        }

        public Criteria andInvitedCountIn(List<Integer> values) {
            addCriterion("invited_count in", values, "invitedCount");
            return (Criteria) this;
        }

        public Criteria andInvitedCountNotIn(List<Integer> values) {
            addCriterion("invited_count not in", values, "invitedCount");
            return (Criteria) this;
        }

        public Criteria andInvitedCountBetween(Integer value1, Integer value2) {
            addCriterion("invited_count between", value1, value2, "invitedCount");
            return (Criteria) this;
        }

        public Criteria andInvitedCountNotBetween(Integer value1, Integer value2) {
            addCriterion("invited_count not between", value1, value2, "invitedCount");
            return (Criteria) this;
        }

        public Criteria andIsAgentIsNull() {
            addCriterion("is_agent is null");
            return (Criteria) this;
        }

        public Criteria andIsAgentIsNotNull() {
            addCriterion("is_agent is not null");
            return (Criteria) this;
        }

        public Criteria andIsAgentEqualTo(Byte value) {
            addCriterion("is_agent =", value, "isAgent");
            return (Criteria) this;
        }

        public Criteria andIsAgentNotEqualTo(Byte value) {
            addCriterion("is_agent <>", value, "isAgent");
            return (Criteria) this;
        }

        public Criteria andIsAgentGreaterThan(Byte value) {
            addCriterion("is_agent >", value, "isAgent");
            return (Criteria) this;
        }

        public Criteria andIsAgentGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_agent >=", value, "isAgent");
            return (Criteria) this;
        }

        public Criteria andIsAgentLessThan(Byte value) {
            addCriterion("is_agent <", value, "isAgent");
            return (Criteria) this;
        }

        public Criteria andIsAgentLessThanOrEqualTo(Byte value) {
            addCriterion("is_agent <=", value, "isAgent");
            return (Criteria) this;
        }

        public Criteria andIsAgentIn(List<Byte> values) {
            addCriterion("is_agent in", values, "isAgent");
            return (Criteria) this;
        }

        public Criteria andIsAgentNotIn(List<Byte> values) {
            addCriterion("is_agent not in", values, "isAgent");
            return (Criteria) this;
        }

        public Criteria andIsAgentBetween(Byte value1, Byte value2) {
            addCriterion("is_agent between", value1, value2, "isAgent");
            return (Criteria) this;
        }

        public Criteria andIsAgentNotBetween(Byte value1, Byte value2) {
            addCriterion("is_agent not between", value1, value2, "isAgent");
            return (Criteria) this;
        }

        public Criteria andDeviceIsNull() {
            addCriterion("device is null");
            return (Criteria) this;
        }

        public Criteria andDeviceIsNotNull() {
            addCriterion("device is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceEqualTo(String value) {
            addCriterion("device =", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceNotEqualTo(String value) {
            addCriterion("device <>", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceGreaterThan(String value) {
            addCriterion("device >", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceGreaterThanOrEqualTo(String value) {
            addCriterion("device >=", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceLessThan(String value) {
            addCriterion("device <", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceLessThanOrEqualTo(String value) {
            addCriterion("device <=", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceLike(String value) {
            addCriterion("device like", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceNotLike(String value) {
            addCriterion("device not like", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceIn(List<String> values) {
            addCriterion("device in", values, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceNotIn(List<String> values) {
            addCriterion("device not in", values, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceBetween(String value1, String value2) {
            addCriterion("device between", value1, value2, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceNotBetween(String value1, String value2) {
            addCriterion("device not between", value1, value2, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceUuidIsNull() {
            addCriterion("device_uuid is null");
            return (Criteria) this;
        }

        public Criteria andDeviceUuidIsNotNull() {
            addCriterion("device_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceUuidEqualTo(String value) {
            addCriterion("device_uuid =", value, "deviceUuid");
            return (Criteria) this;
        }

        public Criteria andDeviceUuidNotEqualTo(String value) {
            addCriterion("device_uuid <>", value, "deviceUuid");
            return (Criteria) this;
        }

        public Criteria andDeviceUuidGreaterThan(String value) {
            addCriterion("device_uuid >", value, "deviceUuid");
            return (Criteria) this;
        }

        public Criteria andDeviceUuidGreaterThanOrEqualTo(String value) {
            addCriterion("device_uuid >=", value, "deviceUuid");
            return (Criteria) this;
        }

        public Criteria andDeviceUuidLessThan(String value) {
            addCriterion("device_uuid <", value, "deviceUuid");
            return (Criteria) this;
        }

        public Criteria andDeviceUuidLessThanOrEqualTo(String value) {
            addCriterion("device_uuid <=", value, "deviceUuid");
            return (Criteria) this;
        }

        public Criteria andDeviceUuidLike(String value) {
            addCriterion("device_uuid like", value, "deviceUuid");
            return (Criteria) this;
        }

        public Criteria andDeviceUuidNotLike(String value) {
            addCriterion("device_uuid not like", value, "deviceUuid");
            return (Criteria) this;
        }

        public Criteria andDeviceUuidIn(List<String> values) {
            addCriterion("device_uuid in", values, "deviceUuid");
            return (Criteria) this;
        }

        public Criteria andDeviceUuidNotIn(List<String> values) {
            addCriterion("device_uuid not in", values, "deviceUuid");
            return (Criteria) this;
        }

        public Criteria andDeviceUuidBetween(String value1, String value2) {
            addCriterion("device_uuid between", value1, value2, "deviceUuid");
            return (Criteria) this;
        }

        public Criteria andDeviceUuidNotBetween(String value1, String value2) {
            addCriterion("device_uuid not between", value1, value2, "deviceUuid");
            return (Criteria) this;
        }

        public Criteria andIsGuestIsNull() {
            addCriterion("is_guest is null");
            return (Criteria) this;
        }

        public Criteria andIsGuestIsNotNull() {
            addCriterion("is_guest is not null");
            return (Criteria) this;
        }

        public Criteria andIsGuestEqualTo(Integer value) {
            addCriterion("is_guest =", value, "isGuest");
            return (Criteria) this;
        }

        public Criteria andIsGuestNotEqualTo(Integer value) {
            addCriterion("is_guest <>", value, "isGuest");
            return (Criteria) this;
        }

        public Criteria andIsGuestGreaterThan(Integer value) {
            addCriterion("is_guest >", value, "isGuest");
            return (Criteria) this;
        }

        public Criteria andIsGuestGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_guest >=", value, "isGuest");
            return (Criteria) this;
        }

        public Criteria andIsGuestLessThan(Integer value) {
            addCriterion("is_guest <", value, "isGuest");
            return (Criteria) this;
        }

        public Criteria andIsGuestLessThanOrEqualTo(Integer value) {
            addCriterion("is_guest <=", value, "isGuest");
            return (Criteria) this;
        }

        public Criteria andIsGuestIn(List<Integer> values) {
            addCriterion("is_guest in", values, "isGuest");
            return (Criteria) this;
        }

        public Criteria andIsGuestNotIn(List<Integer> values) {
            addCriterion("is_guest not in", values, "isGuest");
            return (Criteria) this;
        }

        public Criteria andIsGuestBetween(Integer value1, Integer value2) {
            addCriterion("is_guest between", value1, value2, "isGuest");
            return (Criteria) this;
        }

        public Criteria andIsGuestNotBetween(Integer value1, Integer value2) {
            addCriterion("is_guest not between", value1, value2, "isGuest");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardClaimIsNull() {
            addCriterion("promotion_award_claim is null");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardClaimIsNotNull() {
            addCriterion("promotion_award_claim is not null");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardClaimEqualTo(Short value) {
            addCriterion("promotion_award_claim =", value, "promotionAwardClaim");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardClaimNotEqualTo(Short value) {
            addCriterion("promotion_award_claim <>", value, "promotionAwardClaim");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardClaimGreaterThan(Short value) {
            addCriterion("promotion_award_claim >", value, "promotionAwardClaim");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardClaimGreaterThanOrEqualTo(Short value) {
            addCriterion("promotion_award_claim >=", value, "promotionAwardClaim");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardClaimLessThan(Short value) {
            addCriterion("promotion_award_claim <", value, "promotionAwardClaim");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardClaimLessThanOrEqualTo(Short value) {
            addCriterion("promotion_award_claim <=", value, "promotionAwardClaim");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardClaimIn(List<Short> values) {
            addCriterion("promotion_award_claim in", values, "promotionAwardClaim");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardClaimNotIn(List<Short> values) {
            addCriterion("promotion_award_claim not in", values, "promotionAwardClaim");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardClaimBetween(Short value1, Short value2) {
            addCriterion("promotion_award_claim between", value1, value2, "promotionAwardClaim");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardClaimNotBetween(Short value1, Short value2) {
            addCriterion("promotion_award_claim not between", value1, value2, "promotionAwardClaim");
            return (Criteria) this;
        }

        public Criteria andWeekAwardClaimIsNull() {
            addCriterion("week_award_claim is null");
            return (Criteria) this;
        }

        public Criteria andWeekAwardClaimIsNotNull() {
            addCriterion("week_award_claim is not null");
            return (Criteria) this;
        }

        public Criteria andWeekAwardClaimEqualTo(Short value) {
            addCriterion("week_award_claim =", value, "weekAwardClaim");
            return (Criteria) this;
        }

        public Criteria andWeekAwardClaimNotEqualTo(Short value) {
            addCriterion("week_award_claim <>", value, "weekAwardClaim");
            return (Criteria) this;
        }

        public Criteria andWeekAwardClaimGreaterThan(Short value) {
            addCriterion("week_award_claim >", value, "weekAwardClaim");
            return (Criteria) this;
        }

        public Criteria andWeekAwardClaimGreaterThanOrEqualTo(Short value) {
            addCriterion("week_award_claim >=", value, "weekAwardClaim");
            return (Criteria) this;
        }

        public Criteria andWeekAwardClaimLessThan(Short value) {
            addCriterion("week_award_claim <", value, "weekAwardClaim");
            return (Criteria) this;
        }

        public Criteria andWeekAwardClaimLessThanOrEqualTo(Short value) {
            addCriterion("week_award_claim <=", value, "weekAwardClaim");
            return (Criteria) this;
        }

        public Criteria andWeekAwardClaimIn(List<Short> values) {
            addCriterion("week_award_claim in", values, "weekAwardClaim");
            return (Criteria) this;
        }

        public Criteria andWeekAwardClaimNotIn(List<Short> values) {
            addCriterion("week_award_claim not in", values, "weekAwardClaim");
            return (Criteria) this;
        }

        public Criteria andWeekAwardClaimBetween(Short value1, Short value2) {
            addCriterion("week_award_claim between", value1, value2, "weekAwardClaim");
            return (Criteria) this;
        }

        public Criteria andWeekAwardClaimNotBetween(Short value1, Short value2) {
            addCriterion("week_award_claim not between", value1, value2, "weekAwardClaim");
            return (Criteria) this;
        }

        public Criteria andMonthAwardClaimIsNull() {
            addCriterion("month_award_claim is null");
            return (Criteria) this;
        }

        public Criteria andMonthAwardClaimIsNotNull() {
            addCriterion("month_award_claim is not null");
            return (Criteria) this;
        }

        public Criteria andMonthAwardClaimEqualTo(Short value) {
            addCriterion("month_award_claim =", value, "monthAwardClaim");
            return (Criteria) this;
        }

        public Criteria andMonthAwardClaimNotEqualTo(Short value) {
            addCriterion("month_award_claim <>", value, "monthAwardClaim");
            return (Criteria) this;
        }

        public Criteria andMonthAwardClaimGreaterThan(Short value) {
            addCriterion("month_award_claim >", value, "monthAwardClaim");
            return (Criteria) this;
        }

        public Criteria andMonthAwardClaimGreaterThanOrEqualTo(Short value) {
            addCriterion("month_award_claim >=", value, "monthAwardClaim");
            return (Criteria) this;
        }

        public Criteria andMonthAwardClaimLessThan(Short value) {
            addCriterion("month_award_claim <", value, "monthAwardClaim");
            return (Criteria) this;
        }

        public Criteria andMonthAwardClaimLessThanOrEqualTo(Short value) {
            addCriterion("month_award_claim <=", value, "monthAwardClaim");
            return (Criteria) this;
        }

        public Criteria andMonthAwardClaimIn(List<Short> values) {
            addCriterion("month_award_claim in", values, "monthAwardClaim");
            return (Criteria) this;
        }

        public Criteria andMonthAwardClaimNotIn(List<Short> values) {
            addCriterion("month_award_claim not in", values, "monthAwardClaim");
            return (Criteria) this;
        }

        public Criteria andMonthAwardClaimBetween(Short value1, Short value2) {
            addCriterion("month_award_claim between", value1, value2, "monthAwardClaim");
            return (Criteria) this;
        }

        public Criteria andMonthAwardClaimNotBetween(Short value1, Short value2) {
            addCriterion("month_award_claim not between", value1, value2, "monthAwardClaim");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}